package ynu.edu.dto;

import lombok.Data;
import ynu.edu.entity.Cart;
import java.util.List;

@Data
public class CartResponse {
    private boolean success;
    private String message;
    private List<Cart> data;

    public CartResponse(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public CartResponse(boolean success, String message, List<Cart> data) {
        this.success = success;
        this.message = message;
        this.data = data;
    }
} 